.\"   $Id: simpdupablexpr.3,v 1.1 2002/03/18 11:06:16 ludo Exp $
.\" @(#)simpdupablexpr.2 2.7 96/07/02 ; Labo masi cao-vlsi; Author : Jacomme Ludovic
.TH SIMPDUPABLEXPR 3 "October 1, 1997" "ASIM/LIP6" "ABL FUNCTIONS"
.SH NAME
simpdupablexpr \- duplicates and simplies an expression.
.so man1/alc_origin.1
.SH SYNOPSIS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "abl101.h"
chain_list \(**simpdupablexpr( Expr )
  chain_list \(**Expr;
.ft R
.fi
.SH PARAMETERS
.TP 20
\fIExpr\fP
Expression to simplfy.
.SH DESCRIPTION
\fBsimpdupablexpr\fP simplifies \fIExpr\fP.
.br
.SH RETURN VALUE
\fBsimpdupablexpr\fP returns a pointer to the simplied expression.
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "abl101.h"
  chain_list \(**Expr;
  chain_list \(**ExprSimp;
  Expr = createablbinexpr( ABL_AND,
                           createablatom( "'0'" ),
                           createablatom( "'1'" ) );
  ExprSimp = simpdupablexpr( Expr );
  /* displays ('0' and '1')  '0' */
  viewablexpr( Expr, ABL_VIEW_VHDL );
  viewablexpr( ExprSimp, ABL_VIEW_VHDL );
.ft R
.fi
.SH SEE ALSO
.BR abl (1),
.BR simpdupablexpr(3).


.so man1/alc_bug_report.1

